min and max from <algobase.h>
template <class T> inline const T& (min) (const T& a, const T& b) {...}
template <class T> inline const T& (max) (const T& a, const T& b) {...}
min and max only work on the items passed to them.
The don't need iterators (or contains).
min_element() and max_element() work on a group of
items so they iterators (which presumably refer to
items in a container).
template <class itr> itr min_element (itr first, itr last) {...}
template <class itr> itr max_element (itr first, itr last) {...}